package com.zzy.study.logger;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class TestLog {

	private static final Log LOG = LogFactory.getLog(TestLog.class);

	public static void main(String[] args) {
		if(LOG.isErrorEnabled()){
			LOG.error("error......");
		}
		if(LOG.isInfoEnabled()){
			LOG.info("info......");
		}
		if(LOG.isDebugEnabled()){
			LOG.debug("debug......");
		}
	}

}
